import env from '../../build/env';

export const GET_OK = 200;

export const POST_OK = 201;

export const PUT_OK = 200;

export const DELETE_OK = 200;

export const PAGE_SIZE = 15;

export const HOST = env === 'development'
    ? 'http://punpai.homestead.test/api'
    : env === 'production'
        ? 'http://www.punpai.com/api'
        : 'http://www.punpai.com/api';

// export const TOKEN = env === 'development'
//     ? 'Token  5161029474d48280c7c3cf1385f7d9643e22b9d2'
//     : env === 'production'
//         ? 'Token  d5ae0acf21b9a54a509631398789c0f8eadcf37d'
//         : 'Token  d5ae0acf21b9a54a509631398789c0f8eadcf37d';

export const baseHost = env === 'development'
    ? 'http://punpai.homestead.test'
    : env === 'production'
        ? 'http://www.punpai.com'
        : 'http://www.punpai.com';

export const uploadUrl = `${HOST}/upload`;
export const IMGURL = `${baseHost}/`;
